In general, you should avoid point-to-point
communications between applications. Such integrations can make your overall
system brittle and difficult to manage. Use Cloud Pub/Sub to simplify integrations
between scalable distributed systems. You can build a more scalable and
resilient architecture when the components of your application are loosely coupled
and communicate asynchronously. Use Cloud Pub/Sub to rapidly and reliably
ingest large volumes of incoming data and to fan out messages to
multiple subscribers. You can run your subscriber application
in any execution environment, such as Compute Engine,
GKE, or App Engine. You can also perform event-driven
processing of Cloud Pub/Sub messages by using Cloud functions. With Cloud Pub/Sub, you can build highly
scalable and resilient architectures.